package org.apache.james.mime4j.field;

import org.apache.james.mime4j.decoder.DecoderUtil;

public class UnstructuredField extends Field
{
  private String value;

  protected UnstructuredField(String paramString1, String paramString2, String paramString3, String paramString4)
  {
    super(paramString1, paramString2, paramString3);
    this.value = paramString4;
  }

  public String getValue()
  {
    return this.value;
  }

  public static class Parser
  implements FieldParser
  {
    public Field parse(String paramString1, String paramString2, String paramString3)
    {
      return new UnstructuredField(paramString1, paramString2, paramString3, DecoderUtil.decodeEncodedWords(paramString2));
    }
  }
}